package com.ywgt.service;

import com.github.pagehelper.Page;
import com.ywgt.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author yiping
 * @since 2021-03-12
 */
public interface RoleService extends IService<Role> {

    List<Role> getAll();

    Page<Role> getRoles(String name, int page, int limit, String sort, String order);
}
